<%@page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Lvniao</title>
	<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/statics/css/base.css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/statics/css/font-awesome.css">
	<script src="${pageContext.request.contextPath}/statics/js/jquery-3.2.1.js"></script>
	<script src="${pageContext.request.contextPath}/statics/js/base.js"></script>
	<script>
		$(function(){
			init();
		});
		
		function logout(){
			$.ajax({
				url:"${pageContext.request.contextPath}/admin/home/logout",
				success:function(data){
					window.location.reload();
				}
			})
			
		}
	</script>
</head>
<body class="lv-container">
	<div class="lv-head-section">
		<div class="lv-head-logo">LOGO</div>
		<div class="lv-head-function">
			<div class="lv-head-btn lv-fold fa fa-bars"></div>
			<div class="lv-sys-menu">
				<div class="lv-head-btn lv-first lv-sys-btn fa fa-th-list">
					<div class="lv-sys-panel">
						<div class="lv-sys-panel-content">
						</div>
					</div>
				</div>
				<div class="lv-head-btn lv-sys-btn fa fa-comment">
					<div class="lv-sys-panel">
						<div class="lv-sys-panel-content">
						</div>
					</div>
				</div>
				<div class="lv-head-btn lv-sys-btn fa fa-info-circle">
					<div class="lv-sys-panel">
						<div class="lv-sys-panel-content">
						</div>
					</div>
				</div>
				<div class="lv-head-btn lv-sys-btn fa fa-user-circle">
					<div class="lv-sys-panel">
						<div class="lv-sys-panel-content">
							<h1>hello ${sessionScope.CurrentUser.name }</h1>
							<a onclick="logout();">logout</a>
						</div>
					</div>
				</div>
				<div class="lv-head-btn lv-sys-btn fa fa-cog">
					<div class="lv-sys-panel">
						<div class="lv-sys-panel-content">
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="lv-left-section">
		<ul class="lv-main-menu">
			<jsp:include page="/admin/menu/leftmenu" flush="true"></jsp:include>
		</ul>
	</div>
	<div class="lv-center-section">
		<div class="lv-tab-container">
			<div class="lv-tab-titles">
				<div class="lv-tab-title selected">
					<span class="lv-tab-icon fa fa-home"></span><span class="lv-tab-title-text">主页</span>
				</div>
			</div>
			<div class="lv-tab-pages">
				<div class="lv-tab-page">
					
				</div>
			</div>
		</div>
	</div>
</body>
</html>